﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class BallDiffImage : MonoBehaviour {

	public Sprite[] ballLevel;
	public Sprite[] ballEmoji;

	public Image ballImg;
	public Image emojiImg;

	public void SetLevelAndRandomEmoji(int level)
	{
		ballImg.sprite = ballLevel[level];
		emojiImg.sprite = ballEmoji[Random.Range(0, ballEmoji.Length)];
		//GetComponent<Image>().sprite = ballLevel[level];
	}

	// Use this for initialization
	void Start () 
	{
		
	}
	
	// Update is called once per frame
	void Update () 
	{
		
	}
}
